package test;

import java.util.List;

import org.hibernate.Session;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.xiaofeng.dao.idao.BaseSessionDao;
import com.xiaofeng.dao.idao.Human_ResourceDao;
import com.xiaofeng.dao.idao.UserDao;
import com.xiaofeng.pojo.Human_Resource;



public class conntest extends BaseSessionDao{

	
	@Test
	public void test() {
		ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext_xiaofeng.xml");
		/*Human_ResourceDao hr = (Human_ResourceDao) ac.getBean("human_ResourceDao");	*/
		UserDao ud = (UserDao) ac.getBean("userDao");
		try {
			
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
